﻿using System;

using NServiceBus;

namespace TheKitchen.Querying.Core.Bus
{
    public class EndPointConfig : IConfigureThisEndpoint, AsA_Server, IWantCustomInitialization 
    {
        public void Init()
        {
            Configure.With(AllAssemblies
                .Except("NHibernate.dll")
                .And("Antlr3.Runtime.dll")
                .And("Castle.Core.dll")
                .And("NHibernate.ByteCode.Castle.dll")
                .And("Iesi.Collections.dll"));
        }
    }
}